unit Form_Third;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm3 = class(TForm)
  private
    { Private declarations }
    procedure CreateParams(var Params: TCreateParams); override;
  public
    { Public declarations }
  end;

procedure ProFormThird;

var
  Form3: TForm3;

implementation


{$R *.dfm}
procedure ProFormThird;
begin
  if Form3=nil then
  begin
    Form3:=TForm3.Create(Application);
  end;
  Form3.Show;
  Form3.WindowState:=wsMaximized;
end;

{ TForm3 }

procedure TForm3.CreateParams(var Params: TCreateParams);
begin
  Inherited CreateParams(Params);
  Params.WndParent := GetDesktopWindow;
end;

end.
